 <form action="{$config.full_url}teams/addGroup/"><input type="submit" value="{$smarty.const.ADD_GROUP}"></form><br>
{$message}
<table width="98%" class="team" cellpadding="0" cellspacing="0">

 <tbody>
  {foreach from=$groups item=group}
   <thead>
    <tr>
      <td colspan="3">{$group->getNaam()}</td>
      <td><form action="{$config.full_url}teams/addTeam/{$group->getPoulGroepid()}/"><input type="submit" value="{$smarty.const.ADD_TEAM_TO_GROUP_BUTTON}"></form></td>
      <td>&nbsp;</td><td><a href="{$config.full_url}teams/editGroup/{$group->getPoulGroepid()}"><img src="{$config.maps.images.icons}edit.png" /></a>
                         <a onclick="return confirm('{$smarty.const.ASK_GROUP_DELETING}');" href="{$config.full_url}teams/deleteGroup/{$group->getPoulGroepid()}"><img src="{$config.maps.images.icons}delete.png" /></a></td></thead>
    </tr>
    {foreach from=$group->getTeams() item=team}
    <tr>
        <td width="5%">&nbsp;</td>
        <td><img src="{$config.maps.images.flags.16}{$team->getNaam()}.png" /></td>
        <td>{$team->getNaam()}</td>
        <td>&nbsp;</td>
        <td><a href="{$config.full_url}teams/editTeam/{$team->getTeamid()}"><img src="{$config.maps.images.icons}edit.png" width="16px" /></a>
            <a onclick="return confirm('{$smarty.const.ASK_TEAM_DELETING}');" href="{$config.full_url}teams/deleteTeam/{$team->getTeamid()}"><img src="{$config.maps.images.icons}delete.png" width="16px"/></a></td>  
    </tr>
    {/foreach}
  {/foreach}
 </tbody>
</table>



